Throw 404 if attachment can not be found.

For the master branch